<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
    //  for 循环
    // 变量起始值 创建一个变量
    for (let cstj = 0; 
    cstj<= 6;
     cstj++) {
       document.write(cstj)
         } 
          
         let sum = 0 
        
         for (let os = 1; os <=100; os++) {
            if(os % 2 === 0 ){
                sum+=os
              
                
            }
              
            
        }
          console.log(sum);
        
         let num  = +prompt('行数')
          let num1  = +prompt('列数')
          for (let lx = 1; lx <=num ; lx++) {
            for (let hx = 1; hx <= lx ; hx++ )
         document.write('⭐')
         document.write('<br>')
        }
        let ch = 1
          for (let lx = 1; lx <=9 ; lx++) {
            for (let hx = 1; hx <= lx ; hx++ )
        
         document.write(`${lx}*${hx}=${lx*hx}`)
         document.write('<br>')
        }
    </script>
     
</body>
</html>
